//package com.xenoamess.x8l.idea_plugin;
//
//import com.intellij.application.options.CodeStyleAbstractConfigurable;
//import com.intellij.application.options.CodeStyleAbstractPanel;
//import com.intellij.application.options.TabbedLanguageCodeStylePanel;
//import com.intellij.psi.codeStyle.CodeStyleConfigurable;
//import com.intellij.psi.codeStyle.CodeStyleSettings;
//import com.intellij.psi.codeStyle.CodeStyleSettingsProvider;
//import com.intellij.psi.codeStyle.CustomCodeStyleSettings;
//import org.jetbrains.annotations.NotNull;
//import org.jetbrains.annotations.Nullable;
//
//public class X8lCodeStyleSettingsProvider extends CodeStyleSettingsProvider {
//    @Override
//    public CustomCodeStyleSettings createCustomSettings(CodeStyleSettings settings) {
//        return new X8lCodeStyleSettings(settings);
//    }
//
//    @Nullable
//    @Override
//    public String getConfigurableDisplayName() {
//        return "X8l";
//    }
//
//
//    @NotNull
//    public CodeStyleConfigurable createConfigurable(@NotNull CodeStyleSettings settings, @NotNull CodeStyleSettings
//    modelSettings) {
//        return new CodeStyleAbstractConfigurable(settings, modelSettings, this.getConfigurableDisplayName()) {
//            @Override
//            protected CodeStyleAbstractPanel createPanel(CodeStyleSettings settings) {
//                return new X8lCodeStyleMainPanel(getCurrentSettings(), settings);
//            }
//        };
//    }
//
//    private static class X8lCodeStyleMainPanel extends TabbedLanguageCodeStylePanel {
//        public X8lCodeStyleMainPanel(CodeStyleSettings currentSettings, CodeStyleSettings settings) {
//            super(X8lLanguage.INSTANCE, currentSettings, settings);
//        }
//    }
//}